package com.KKB.dao;

import com.KKB.bean.Role;

import java.util.List;

public interface RoleDao {
    public List<Role> getRoleList(int pageIndex, int pageSize);

    public int total();

    public int insert(Role role);

    public Role findbyid(int roleid);

    public List<Role> getList();

    public int update(Role role);

    public Role findById(int rid);

    public int deleteById(int roleId);
}
